<template>
  <router-view :form="form"></router-view>
</template>

<script>
import { getProductRepoDetail } from "@/api/patch";
export default {
  data() {
    return {
      form: {},
    };
  },
  mounted() {
    getProductRepoDetail({
      id: this.$route.params.id,
      id2: this.$route.query.id2?this.$route.query.id2:this.$route.query.repoId,
    }).then((res) => {
      this.form = res.data.data;
    });
  },
};
</script>

<style>
</style>